<div id="dialog" title="Graag bevestigen">
    Wilt u dit formulier verwijderen?
</div>

&nbsp;&nbsp;<a title="Nieuwe vragenlijst aanmaken" href="/index/reset"><img src="/images/icons/New_16x16.png" /></a> Nieuwe looplijst aanmaken
<br>
<table id="set1">
    <?php if(!$this->formulieren): ?>
    <tr>
        <td colspan="2">Er zijn geen formulieren gevonden</td>
    </tr>
    <?php else: ?>
		<tr>
			<td colspan="3"><br>Reeds ingevulde looplijsten:<br></td>
		</tr>
		<?php foreach($this->formulieren as $formulier) : ?>
		<tr>
			<td>
				<a title="Aanpassen" href="/index/load/formulier/<?php echo $formulier['id'];?>"><img src="/images/icons/Edit_16x16.png" /></a>&nbsp;&nbsp;
				<a title="Verwijderen" class="confirm" href="/index/delete/id/<?php echo $formulier['id'];?>"><img src="/images/icons/Delete_16x16.png" /></a>&nbsp;&nbsp;
				<a title="Ga verder waar je gestopt bent" href="/index/continue/id/<?php echo $formulier['id'];?>"><img src="/images/icons/Play_16x16.png" /></a>&nbsp;&nbsp;
				<a title="Ga verder waar je gestopt bent" href="/index/pdf/id/<?php echo $formulier['id'];?>"><img src="/images/icons/Pdf_16x16.png" /></a>&nbsp;&nbsp;&nbsp;&nbsp;
			</td>
			<td>
				<a href="/index/load/formulier/<?php echo $formulier['id'];?>"><?php echo $formulier['name'];?></a>
			</td>
                        <?php if(Zend_Auth::getInstance()->getStorage()->read()->role == "admin") :?>
                        <td>
				<a href="/index/load/formulier/<?php echo $formulier['id'];?>"><?php echo $formulier['real_name'];?></a>
			</td>

                        <?php else : ?>
                        <td>
				
			</td>
                        <?php endif; ?>
		</tr>
        <?php endforeach ?>
    <?php endif; ?>
</table>
